package com.kgc.skProvider.dao;

import com.kgc.collection.pojo.WriteOff;
import com.kgc.collection.pojo.WriteoffDetail;
import com.kgc.collection.pojo.WriteoffLink;
import com.kgc.collection.pojo.WriteoffType;

import java.util.List;
import java.util.Map;

public interface WriteOffMapper {

    List<WriteoffType> selectWriteOffType();

    List<WriteOff> selectWriteOffByPage(Map<String,Object> map);

    int insertWriteOff(WriteOff writeOff);

    int deleteWriteOff(Map<String,Object> map);

    int checkWriteOff(Map<String,Object> map);

    List<WriteoffDetail> selectWriteOffDetail(Map<String,Object> map);

    int insertWriteOffDetail(WriteoffDetail writeoffDetail);

    int deleteWriteOffDetail(Map<String,Object> map);

    WriteOff selectWriteOffByCode(Map<String,Object> map);

    int insertWriteOffLink(WriteoffLink writeoffLink);





}
